package com.sugar.psych.assessment.module.business.controller.admin.usertreeholeclock.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 树洞打卡新增/修改 Request VO")
@Data
public class UserTreeHoleClockSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "21364")
    private Long id;

    @Schema(description = "打卡类型（0睡觉打卡 1起床打卡）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "打卡类型（0睡觉打卡 1起床打卡）不能为空")
    private Boolean type;

    @Schema(description = "打卡时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "打卡时间不能为空")
    private LocalDateTime clockTime;

    @Schema(description = "创建日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "创建日期不能为空")
    private LocalDate createDate;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}